﻿<controls:ChildWindow x:Class="ChurchManagement.ClsMasterMember"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="1007" Height="430" 
           Title="Master Member" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" />
        <controls:TabControl Name="tabControl1">
            <controls:TabItem Header="Member Information" Name="tabItem1">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="15" />
                        <ColumnDefinition Width="143" />
                        <ColumnDefinition Width="623*" />
                        <ColumnDefinition Width="226*" />
                    </Grid.ColumnDefinitions>
                    <TextBox Grid.Column="2" Height="25" HorizontalAlignment="Left" Margin="0,16,0,0" Name="textBox1" VerticalAlignment="Top" Width="381" />
                    <sdk:Label HorizontalAlignment="Left" Margin="3,20,0,0" Name="label1" VerticalAlignment="Top" Content="Member Name" Grid.Column="1" />
                    <TextBox Grid.Column="2" Height="25" HorizontalAlignment="Left" Margin="0,79,0,0" Name="textBox6" VerticalAlignment="Top" Width="381" />
                    <sdk:Label Grid.Column="1" HorizontalAlignment="Left" Margin="3,83,0,0" Name="label4" VerticalAlignment="Top" Content="Father Name" />
                    <Button Content="..." Grid.Column="2" Height="25" HorizontalAlignment="Left" Margin="388,79,0,0" Name="btnLinkFather" VerticalAlignment="Top" Width="30" FontSize="15" Click="btnLinkFather_Click" />
                    <TextBox Grid.Column="2" Height="25" HorizontalAlignment="Left" Margin="0,110,0,0" Name="textBox7" VerticalAlignment="Top" Width="381" />
                    <sdk:Label Grid.Column="1" HorizontalAlignment="Left" Margin="3,114,0,0" Name="label5" VerticalAlignment="Top" Content="Mother Name" />
                    <TextBox Grid.Column="2" Height="26" HorizontalAlignment="Left" Margin="0,141,0,0" Name="textBox8" VerticalAlignment="Top" Width="381" />
                    <Button Content="..." FontSize="15" Height="25" HorizontalAlignment="Left" Margin="388,110,0,0" Name="btnLinkMother" VerticalAlignment="Top" Width="30" Grid.Column="2" Click="btnLinkMother_Click" />
                    <Button Content="..." FontSize="15" Height="25" HorizontalAlignment="Left" Margin="388,141,0,0" Name="btnLinkHusbandWife" VerticalAlignment="Top" Width="30" Grid.Column="2" Click="btnLinkHusbandWife_Click" />
                    <sdk:Label Grid.Column="1" HorizontalAlignment="Left" Margin="3,145,0,0" Name="label6" VerticalAlignment="Top" Content="Husband/Wife" />
                    <CheckBox Content="Is Water Baptism" Grid.Column="2" Height="20" HorizontalAlignment="Right" Margin="0,204,170,0" Name="checkBox1" VerticalAlignment="Top" Width="149" />
                    <sdk:DatePicker Grid.Column="2" Height="24" HorizontalAlignment="Left" Margin="0,173,0,0" Name="datePicker1" VerticalAlignment="Top" Width="160" />
                    <sdk:Label Grid.Column="1" HorizontalAlignment="Left" Margin="3,177,0,0" Name="label7" VerticalAlignment="Top" Content="Date of Birth" />
                    <CheckBox Grid.Column="2" Height="18" HorizontalAlignment="Left" Margin="0,203,0,0" Name="checkBox2" VerticalAlignment="Top" Width="25" />
                    <sdk:Label Grid.Column="1" HorizontalAlignment="Left" Margin="3,204,0,0" Name="label8" VerticalAlignment="Top" Content="Is Married" />
                    <sdk:DatePicker Height="24" HorizontalAlignment="Left" Margin="0,227,0,0" Name="datePicker2" VerticalAlignment="Top" Width="160" Grid.Column="2" />
                    <sdk:Label Content="Marriage Date" HorizontalAlignment="Left" Margin="3,231,0,0" Name="label9" VerticalAlignment="Top" Grid.Column="1" />
                    <ComboBox Grid.Column="2" Height="25" HorizontalAlignment="Left" Margin="0,47,0,0" Name="comboBox1" VerticalAlignment="Top" Width="137" />
                    <sdk:Label Content="Gender" HorizontalAlignment="Left" Margin="3,52,0,0" Name="label15" VerticalAlignment="Top" Grid.Column="1" />
                    <CheckBox Content="Is Foundation Course Completed" Height="20" HorizontalAlignment="Right" Margin="0,177,142,0" Name="checkBox3" VerticalAlignment="Top" Width="177" Grid.Column="2" />
                    <Border BorderBrush="Silver" BorderThickness="1" Grid.Column="3" Height="244" HorizontalAlignment="Right" Margin="0,7,10,0" Name="border1" VerticalAlignment="Top" Width="196">
                        <Border.Background>
                            <RadialGradientBrush>
                                <GradientStop Color="White" Offset="0" />
                                <GradientStop Color="#FF064072" Offset="1" />
                            </RadialGradientBrush>
                        </Border.Background>
                        <Image Height="218" Name="image1" Stretch="Fill" Width="177" />
                    </Border>
                    <Button Content="Attach Image" Grid.Column="3" Height="25" HorizontalAlignment="Left" Margin="18,268,0,0" Name="btnAttachImage" VerticalAlignment="Top" Width="183" />
                </Grid>
            </controls:TabItem>
            <controls:TabItem Header="Contact Detail">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="143" />
                        <ColumnDefinition Width="858" />
                    </Grid.ColumnDefinitions>
                    <TextBox Height="25" HorizontalAlignment="Left" Margin="0,57,0,0" Name="textBox3" VerticalAlignment="Top" Width="150" Grid.Column="1" />
                    <TextBox Grid.Column="1" Height="25" HorizontalAlignment="Left" Margin="156,57,0,0" Name="textBox4" VerticalAlignment="Top" Width="150" />
                    <TextBox Grid.Column="1" Height="25" HorizontalAlignment="Left" Margin="312,57,0,0" Name="textBox5" VerticalAlignment="Top" Width="150" />
                    <TextBox Height="25" HorizontalAlignment="Left" Margin="0,26,0,0" Name="textBox2" VerticalAlignment="Top" Width="306" Grid.Column="1" />
                    <sdk:Label Content="Address" HorizontalAlignment="Left" Margin="6,30,0,0" Name="label2" VerticalAlignment="Top" />
                    <sdk:Label Content="Contact No." HorizontalAlignment="Left" Margin="6,61,0,0" Name="label3" VerticalAlignment="Top" />
                    <TextBox Height="25" HorizontalAlignment="Left" Margin="0,88,0,0" Name="textBox9" VerticalAlignment="Top" Width="462" Grid.Column="1" />
                    <sdk:Label Content="Email Id" HorizontalAlignment="Left" Margin="6,92,0,0" Name="label10" VerticalAlignment="Top" />
                    <TextBox Height="25" HorizontalAlignment="Left" Margin="0,119,0,0" Name="textBox10" VerticalAlignment="Top" Width="462" Grid.Column="1" />
                    <sdk:Label Content="Website" HorizontalAlignment="Left" Margin="6,123,0,0" Name="label11" VerticalAlignment="Top" />
                </Grid>
            </controls:TabItem>
            <controls:TabItem Header="Personal Detail" >
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="12" />
                        <ColumnDefinition Width="120" />
                        <ColumnDefinition Width="869" />
                    </Grid.ColumnDefinitions>
                    <sdk:Label Grid.Column="1" HorizontalAlignment="Left" Margin="0,20,0,0" Name="label12" VerticalAlignment="Top" Content="Qualification" />
                    <TextBox Grid.Column="2" Height="25" HorizontalAlignment="Left" Margin="0,16,0,0" Name="textBox11" VerticalAlignment="Top" Width="418" />
                    <TextBox Height="25" HorizontalAlignment="Left" Margin="0,47,0,0" Name="textBox12" VerticalAlignment="Top" Width="114" Grid.Column="2" />
                    <sdk:Label Content="Blood Group" HorizontalAlignment="Left" Margin="0,51,0,0" Name="label13" VerticalAlignment="Top" Grid.Column="1" />
                    <TextBox Height="25" HorizontalAlignment="Left" Margin="0,78,0,0" Name="textBox13" VerticalAlignment="Top" Width="418" Grid.Column="2" />
                    <sdk:Label Content="Profession" HorizontalAlignment="Left" Margin="0,82,0,0" Name="label14" VerticalAlignment="Top" Grid.Column="1" />
                    <TextBox Height="25" HorizontalAlignment="Left" Margin="0,109,0,0" Name="textBox14" VerticalAlignment="Top" Width="193" Grid.Column="2" />
                    <sdk:Label Content="No of Children" HorizontalAlignment="Left" Margin="0,113,0,0" Name="label16" VerticalAlignment="Top" Grid.Column="1" />
                </Grid>
            </controls:TabItem>
            <sdk:TabItem Header="Have Documents">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="17" />
                        <ColumnDefinition Width="984" />
                    </Grid.ColumnDefinitions>
                    <CheckBox Content="Have PAN Card" HorizontalAlignment="Left" Margin="0,16,0,0" Name="checkBox4" VerticalAlignment="Top" Grid.Column="1" />
                    <CheckBox Content="Have Ration Card" Grid.Column="1" HorizontalAlignment="Left" Margin="0,43,0,0" Name="checkBox5" VerticalAlignment="Top" />
                    <CheckBox Content="Have Election Card" Grid.Column="1" HorizontalAlignment="Left" Margin="0,69,0,0" Name="checkBox6" VerticalAlignment="Top" />
                    <CheckBox Content="Have Life Insurance" Grid.Column="1" HorizontalAlignment="Left" Margin="0,92,0,0" Name="checkBox7" VerticalAlignment="Top" />
                    <CheckBox Content="Have Kitchen Gas" HorizontalAlignment="Left" Margin="0,115,0,0" Name="checkBox8" VerticalAlignment="Top" Grid.Column="1" />
                    <CheckBox Content="Have Own House" Grid.Column="1" HorizontalAlignment="Left" Margin="0,138,0,0" Name="checkBox9" VerticalAlignment="Top" />
                </Grid>
            </sdk:TabItem>
        </controls:TabControl>
    </Grid>
</controls:ChildWindow>